package com.zzxy.spring.service.impl;

import com.zzxy.spring.dao.IStudentDao;
import com.zzxy.spring.service.IStudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class IStudentServiceImpl implements IStudentService {
    @Autowired
    private IStudentDao studentDao;

    @Override
    public void saveStudent() {
        studentDao.addStudent();
    }
}
